﻿using System;
using Citi.RoutineBase;
using System.Collections.Generic;
using Citi.GLCosmos.SchedulerUI;

namespace Citi.GLCosmos.ConsoleUI
{
    public class Program
    {
        static void Main(string[] args)
        {
            var parameters = new Dictionary<string, object> { { "RobotUsername", "lac_bra_ftools" }, { "RobotPassword", "Ferrari3k10" } };

            ICurrentAction currentAction = new CurrentAction();

            //new Citi.GLCosmos.SchedulerUI.DatabaseUpdate().Start(DateTime.Today, ref currentAction, parameters);

            //new Citi.GLCosmos.SchedulerUI.Report().Start(DateTime.Today, ref currentAction, parameters);
            new Citi.GLCosmos.SchedulerUI.Feed().Start(DateTime.Today, ref currentAction, parameters);
        }
    }

    class CurrentAction : ICurrentAction
    {
        public string Description
        {
            set { Console.WriteLine(value); }
        }

        public void StartLog(string message)
        {

        }

        public void StartLogOnFile(string filePath)
        {

        }

        public void StopLog()
        {

        }

        public void StopLogOnFile()
        {

        }
    }

}

